import { Translation } from "./translations";

export const zh: Translation = {
  headlines: {
    error: "发生错误",
    loginEmail: "登录或注册",
    loginEmailNoSignup: "登录",
    loginFinished: "登录成功",
    loginPasscode: "输入验证码",
    loginPassword: "输入密码",
    registerAuthenticator: "创建密钥",
    registerConfirm: "创建账号？",
    registerPassword: "设置新密码",
    profileEmails: "电子邮件",
    profilePassword: "密码",
    profilePasskeys: "密钥",
    isPrimaryEmail: "主要电子邮件地址",
    setPrimaryEmail: "设定主要电子邮件地址",
    emailVerified: "已验证",
    emailUnverified: "未验证",
    emailDelete: "删除",
    renamePasskey: "重命名密钥",
    deletePasskey: "删除密钥",
    lastUsedAt: "最后使用在",
    createdAt: "创建于",
    connectedAccounts: "连接的账户",
    deleteAccount: "删除帐户",
    accountNotFound: "未找到帐户",
  },
  texts: {
    enterPasscode: "输入发送到“{emailAddress}”的验证码。",
    setupPasskey:
      "使用密钥轻松安全地登录您的账户。注意：您的生物识别数据仅存储在您的设备上，永远不会与任何人共享。",
    createAccount: "没有“{emailAddress}”的账户存在。你想要创建一个新账户吗?",
    passwordFormatHint: "必须长在{minLength}和{maxLength}字符之间。",
    manageEmails: "您的电子邮件地址用于通信和认证。",
    changePassword: "设置新密码。",
    managePasskeys: "您的密钥允许您登录此账户。",
    isPrimaryEmail:
      "用于通讯，验证码，以及作为密钥的用户名。要更改主要电子邮件地址，请先添加另一个电子邮件地址并设定为主要。",
    setPrimaryEmail:
      "设定此电子邮件地址为主要，它将被用于通讯，验证码，以及作为密钥的用户名。",
    emailVerified: "此电子邮件地址已经过验证。",
    emailUnverified: "此电子邮件地址尚未验证。",
    emailDelete:
      "如果您删除此电子邮件地址，将无法再用于登录您的账户。可能已经用此电子邮件地址创建的密钥将保持完整。",
    emailDeletePrimary:
      "主要电子邮件地址不能被删除。请先添加另一个电子邮件地址并设定为主要电子邮件地址。",
    renamePasskey: "为密钥设定名称，帮助您识别其所存储的位置。",
    deletePasskey:
      "从您的账户中删除此密钥。请注意，密钥将继续存在于您的设备上，也需要在那里被删除。",
    deleteAccount: "您确定要删除此账号吗？所有数据将立即被删除，且无法恢复。",
    noAccountExists: '没有账户"{emailAddress}"。',
  },
  labels: {
    or: "或",
    no: "否",
    yes: "是",
    email: "电子邮件",
    continue: "继续",
    skip: "跳过",
    save: "保存",
    password: "密码",
    signInPassword: "使用密码登录",
    signInPasscode: "使用验证码登录",
    forgotYourPassword: "忘记密码了吗？",
    back: "返回",
    signInPasskey: "使用密钥登录",
    registerAuthenticator: "创建密钥",
    signIn: "登录",
    signUp: "注册",
    sendNewPasscode: "发送新代码",
    passwordRetryAfter: "{passwordRetryAfter}后重试",
    passcodeResendAfter: "{passcodeResendAfter}后请求新的代码",
    unverifiedEmail: "未验证",
    primaryEmail: "主要的",
    setAsPrimaryEmail: "设为主要",
    verify: "验证",
    delete: "删除",
    newEmailAddress: "新电子邮件地址",
    newPassword: "新密码",
    rename: "重命名",
    newPasskeyName: "新密钥名称",
    addEmail: "添加电子邮件",
    changePassword: "更改密码",
    createPasskey: "创建密钥",
    webauthnUnsupported: "您的浏览器不支持密钥",
    signInWith: "通过 {provider} 登录",
    deleteAccount: "是的，删除此帐户。",
  },
  errors: {
    somethingWentWrong: "发生技术错误。请稍后再试。",
    requestTimeout: "请求超时。",
    invalidPassword: "邮箱或密码错误。",
    invalidPasscode: "提供的验证码不正确。",
    passcodeAttemptsReached: "验证码输入次数过多。请请求新的验证码。",
    tooManyRequests: "请求太频繁。请稍后重试。",
    unauthorized: "您的会话已过期。请再次登录。",
    invalidWebauthnCredential: "此密钥已无法使用。",
    passcodeExpired: "验证码已过期。请请求新的验证码。",
    userVerification:
      "需要用户验证。请确保你的验证设备已经用PIN或生物识别保护。",
    emailAddressAlreadyExistsError: "电子邮件地址已存在。",
    maxNumOfEmailAddressesReached: "不能添加更多的电子邮件地址。",
    thirdPartyAccessDenied:
      "访问被拒绝。该请求已被用户取消或者供应商由于其他原因拒绝了访问。",
    thirdPartyMultipleAccounts: "无法确定账户。电子邮件地址被多个账户使用。",
    thirdPartyUnverifiedEmail:
      "需要电子邮件验证。请与您的提供商验证使用的电子邮件地址。",
    signupDisabled: "帐户注册被禁用。",
  },
};
